home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / dviware / textool / makefile < prev    next >
Makefile  |  1990-10-01  |  932b  |  37 lines

  1. CFLAGS = -f68881 -fsingle -O
  2. LIBS = -lsuntool -lsunwindow -lpixrect
  3. BINDIR = /u/tex/bin
  4. MANDIR = /usr/man/manl
  5. ICONDIR = /usr/include/images
  6. FONTOBJ = pkstuff.o
  7. # change the above to pxlstuff.o for pxl format fonts
  8. RHOST = drake
  9. FILES = README Problems Makefile defs.h globals.h commands.h\
  10.         sunstuff.c dvistuff.c pkstuff.c pxlstuff.c textool.l textool.icon
  11.  
  12. textool: sunstuff.o dvistuff.o ${FONTOBJ}
  13.     cc -o textool ${CFLAGS} sunstuff.o dvistuff.o ${FONTOBJ} ${LIBS}
  14.  
  15. install: textool
  16.     install -s textool ${BINDIR}
  17.  
  18. rinstall: ${BINDIR}/textool
  19.     rcp ${BINDIR}/textool ${RHOST}:${BINDIR}
  20.  
  21. installall: textool textool.l textool.icon
  22.     install -s textool ${BINDIR}
  23.     cp textool.l ${MANDIR}
  24.     cp textool.icon ${ICONDIR}
  25.  
  26. clean:
  27.     rm -rf *.o textool kit
  28.  
  29. kit: ${FILES}
  30.     tar cvf - ${FILES} | compress | btoa > kit
  31.  
  32. sunstuff.o: defs.h globals.h
  33. dvistuff.o: defs.h globals.h commands.h
  34. pxlstuff.o: defs.h globals.h
  35. pkstuff.o: defs.h globals.h
  36.  
  37.